<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>试题管理</title>
    <link rel="stylesheet" type="text/css" href="css/common.css"/>
    <link rel="stylesheet" type="text/css" href="css/main.css"/>
</head>
<body>
<div class="container clearfix">
    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap" style="background: #00b7ee">

        </div>
        <div class="search-wrap">
            <div class="search-content">
                <form action="/getTiaojInfo" method="get">
                    <table class="search-tab">
                        <tr>
                            <th width="70">试题名:</th>
                            <td><input class="common-text" placeholder="试题名" name="name" value=""  type="text"></td>

                            <th width="70">开始时间:</th>
                            <td><input class="common-text" placeholder="试题名" name="openDate" value="" id="openDate"  type="date"></td>
                            <th width="70">结束时间:</th>
                            <td><input class="common-text" placeholder="试题名" name="closeDate" value="" id="closeDate"  type="date"></td>

                            <td><input class="btn btn-primary btn2" name="sub" value="查询" type="submit"></td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
        <div class="result-wrap">
            <form name="myform" id="myform" method="post">
                <div class="result-title">
                    <div class="result-list">
                        <a href="insert.html"><i class="icon-font"></i>新增试题</a>
                        <a id="batchDel" href="javascript:void(0)"><i class="icon-font"></i>批量移除</a>
                        <a id="updateOrd" href="javascript:void(0)"><i class="icon-font"></i>更新排序</a>
                    </div>
                </div>
                <div class="result-content">
                    <table class="result-tab" width="100%">
                        <tr>
                            <th class="tc" width="5%"><input class="allChoose" name="" type="checkbox"></th>
                            <th>试卷编号</th>
                            <th>试卷名称</th>
                            <th>出题时间</th>
                            <th>结束时间</th>
                            <th>出提人</th>
                            <th>出题数</th>
                            <th>操作</th>
                        </tr>
                        <tr th:each="list:${testPaper}">
                            <td class="tc" width="5%">
                                <input type="checkbox" name="caht" class="allChoose"/>
                            </td>
                            <td th:text="${list.id}">待加载</td>
                            <td  th:text="${list.name}">待加载</td>
                            <td th:text="${list.openDate}">待加载</td>
                            <td th:text="${list.closeDate}">待加载</td>
                            <td th:text="${list.papermaker}">待加载</td>
                            <td th:text="${list.b}">待加载</td>
                            <td>
                                <a class="link-update">查看</a>
                                |
                                <a class="link-del" th:href="@{/delete(id=${list.id})}">移除</a>
                            </td>

                        </tr>

                    </table>

                    <div class="list-page"> 2 条 1/1 页</div>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
<script src="https://code.jquery.com/jquery-3.1.1.min.js" type="text/javascript"></script>
<script type="text/javascript">

</script>
</html>